/*
 * @(#)StudentBean.java    �汾�� 2010-11-5
 * 
 * Version information
 * 
 * Copyright notice
 */

package cn.edu.nju.software.net;

/**
 * Class description goes here.
 * 
 * @version �汾�� 2010-11-5
 * @author lijinsheng
 */
public class StudentBean {

	// student's properties
	private String userName;
	private String password;
	private String sId;
	private String sName;
	private String sGender;
	private String sInstitute;

	// two constructors
	public StudentBean() {
		userName = "";
		password = "";
		sId = "";
		sName = "";
		sGender = "男";
		sInstitute = "";
	}

	public StudentBean(String userName, String password, String id,
			String name, String gender, String institute) {
		this.userName = userName;
		this.password = password;
		this.sId = id;
		this.sName = name;
		this.sGender = gender;
		this.sInstitute = institute;
	}

	// properties' setters
	public void setUserName(String userName) {
		this.userName = userName;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setId(String id) {
		this.sId = id;
	}

	public void setName(String name) {
		this.sName = name;
	}

	public void setGender(String gender) {
		this.sGender = gender;
	}

	public void setInstitute(String institute) {
		this.sInstitute = institute;
	}

	// properties' getters
	public String getUserName() {
		return userName;
	}

	public String getPassword() {
		return password;
	}

	public String getId() {
		return this.sId;
	}

	public String getName() {
		return this.sName;
	}

	public String getGender() {
		return this.sGender;
	}

	public String getInstitute() {
		return this.sInstitute;
	}
}
